<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>Exemplo Single-Sign-One</title>
    <script type="text/javascript">
        (function() {
        if (typeof window.janrain !== 'object') window.janrain = {};
        window.janrain.settings = {};

        janrain.settings.tokenUrl = 'http://localhost:8080/janrain/auth';

        function isReady() { janrain.ready = true; };
        if (document.addEventListener) {
            document.addEventListener("DOMContentLoaded", isReady, false);
        } else {
            window.attachEvent('onload', isReady);
        }

        var e = document.createElement('script');
        e.type = 'text/javascript';
        e.id = 'janrainAuthWidget';

        if (document.location.protocol === 'https:') {
            e.src = 'https://rpxnow.com/js/lib/mhfelipeblog/engage.js';
        } else {
            e.src = 'http://widget-cdn.rpxnow.com/js/lib/mhfelipeblog/engage.js';
        }

        var s = document.getElementsByTagName('script')[0];
        s.parentNode.insertBefore(e, s);
        })();
    </script>
</head>
<body>
<div id="janrainEngageEmbed"></div></body>
</html>